
CREATE TABLE [dbo].[CashPaymentByReturn_Log](
	[SlipID_log] [bigint] NOT NULL,
	[SlipID] [bigint] NOT NULL,
	[SlipNo] [varchar](50) NOT NULL,
	[SlipDate] [datetime] NOT NULL,
	[CreatedDate] [datetime] NOT NULL,
	[ModifiedDate] [datetime] NOT NULL,
	[CreatedBy] [bigint] NOT NULL,
	[ModifiedBy] [bigint] NOT NULL,
	[DefaultBranchID] [bigint] NOT NULL,
	[TypeID] [bigint] NOT NULL,
	[TypeCode] [varchar](50) NOT NULL,
	[ReturnSlipID] [bigint] NOT NULL,
	[ReturnNo] [varchar](50) NOT NULL,
	[AgentID] [bigint] NULL,
	[AgentCode] [varchar](50) NOT NULL,
	[AddCodeID] [bigint] NOT NULL,
	[AddCode] [varchar](50) NOT NULL,
	[ReceiptNo] [varchar](50) NOT NULL,
	[Sender] [nvarchar](50) NOT NULL,
	[Receiver] [nvarchar](50) NOT NULL,
	[NRC] [nvarchar](50) NOT NULL,
	[Address] [nvarchar](2000) NOT NULL,
	[CurrencyID] [bigint] NOT NULL,
	[Rate] [decimal](18, 4) NOT NULL,
	[Amount] [decimal](18, 4) NOT NULL,
	[ExtraFees] [decimal](18, 4) NOT NULL,
	[BankID] [bigint] NULL,
	[BankCode] [varchar](50) NULL,
	[ReturnDetailID] [bigint] NOT NULL,
	[DefineDetailID] [bigint] NOT NULL,
	[log_sysDate] [datetime] NOT NULL,
	[log_userid] [bigint] NOT NULL,
	[log_status] [tinyint] NOT NULL
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


